package core;

import gui.FenetrePrincipale;

import java.util.concurrent.LinkedBlockingQueue;

import tasks.Listen;
import tasks.ProcessMessageQueue;
import tasks.ProcessPieceQueue;
import tools.Parametres;

public class Main {

	public static void main(String[] args) {
		
		
		Executor.getThreadPool().execute(new Listen(Parametres.tcpPort));
		
		Executor.getThreadPool().execute(new ProcessMessageQueue());
		Executor.getThreadPool().execute(new ProcessPieceQueue());
		
		FenetrePrincipale fp = new FenetrePrincipale();
		
	}
}
